package com.demo.alarm;

public class ConnectingTask implements Runnable {
	@Override
	public void run() {
		try {
			Thread.sleep(10000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}

		System.out.println("alarm connected");
		onConnected();
	}

	/**
	 * 确认和报警服务器建立连接
	 */
	private void onConnected() {

	}
}
